package com.sxbbc.common.core.service;

import com.sxbbc.common.core.entity.jz.CFreezePointDetail;
import com.sxbbc.common.core.utils.BasePage;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户冻结积分明细表 服务类
 * </p>
 *
 * @author xiaoky
 * @since 2019-07-14
 */
public interface ICFreezePointDetailService extends IService<CFreezePointDetail> {

	/**
	 * 查询用户冻结积分
	 * @param page 分页
	 * @param freezePointDetail 查询条件
	 * @return 分页数据
	 * @author xiaoky
	 */
	IPage<CFreezePointDetail> queryCustomerFreezePointList(BasePage<CFreezePointDetail> page,
			CFreezePointDetail freezePointDetail);

	/**
	 * 根据交易单号和cid查询冻结单条记录
	 * @param payCode 交易单号
	 * @param cid 用户ID
	 * @author leehao
	 * @return com.sxbbc.common.core.entity.jz.CFreezePointDetail
	 */
    List<CFreezePointDetail> getByPayCodeAndCid(String payCode, Integer cid);
}
